package com.yuke.cloud.service.omc.service;

import com.yuke.cloud.common.core.support.IService;
import com.yuke.cloud.service.omc.dto.CommissionGoodsDto;
import com.yuke.cloud.service.omc.dto.OdsTeamGoodsDto;
import com.yuke.cloud.service.omc.entity.OdsTeamGoods;

import java.util.List;
import java.util.Map;


/**
 * Created by zn on 2020/10/05.
 */
public interface OdsTeamGoodsService extends IService<OdsTeamGoods> {

    Map<String, Integer> selectCountGoods(OdsTeamGoods odsTeamGoods);

    /**
     * 条件查询全部记录，带分页
     * @param odsTeamGoodsDto
     * @return
     */
    List<OdsTeamGoodsDto> selectTeamGoodsByCondition(OdsTeamGoodsDto odsTeamGoodsDto);

    List<OdsTeamGoodsDto> getExtraInfo(List<OdsTeamGoodsDto> odsTeamGoodsList);

    List<CommissionGoodsDto> teamGoodsCommission(Long shopId,String dateCreateTime,Byte checkStatus);

    List<OdsTeamGoodsDto> teamIntentCommission(Long shopId,Byte checkStatus);
}
